import { Module } from '@nestjs/common';
import { CommitService } from './commit.service';
import { CommitController } from './commit.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Post } from 'src/post/entities/post.entity';
import { Commit } from 'src/commit/entities/commit.entity';
// import { User } from 'src/user/entities/user.entity';

@Module({
  imports:[TypeOrmModule.forFeature([Post,Commit])],

  controllers: [CommitController],
  providers: [CommitService]
})
export class CommitModule {}
